<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<jsp:include page="../../common/jsp/taglibs.jsp"/>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="initial-scale=1.0, maximum-scale=2.0">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>客户管理</title>
    <jsp:include page="../../common/jsp/head.jsp"/>
</head>
<body>
<form class="layui-form layui-form-pane">
    <table class="Table">
        <tr>
            <td>
                <div class="layui-inline">
                    <label class="layui-form-label" style="width: 70px;">客户名称</label>
                    <div class="layui-input-inline" style="width: 120px;">
                        <input type="text" class="layui-input" id="customerName" placeholder="请输入客户名称"/>
                    </div>
                </div>
            </td>
            <td>
                <div class="layui-inline">
                    <label class="layui-form-label" style="width: 70px;">联系方式</label>
                    <div class="layui-input-inline" style="width: 120px;">
                        <input type="text" class="layui-input" id="contact" placeholder="请输入联系方式"/>
                    </div>
                </div>
            </td>
            <td>
                <div class="layui-inline">
                    <label class="layui-form-label" style="width: 70px;">客户级别</label>
                    <div class="layui-input-inline" style="width: 90px;">
                        <select id="level">
                            <option value="">请选择</option>
                            <option value="-1">全部</option>
                            <option value="0">普通</option>
                            <option value="1">会员</option>
                        </select>
                    </div>
                </div>
            </td>
            <td>
                <div class="layui-inline">
                    <label class="layui-form-label" style="width: 70px;">负责人</label>
                    <div class="layui-input-inline" style="width: 120px;">
                        <input type="text" class="layui-input" id="chargeName" placeholder="请输入负责人"/>
                    </div>
                    <a class="layui-btn" style="margin-left:20px;" id="search">查询</a>
                    <a class="layui-btn layui-btn-warm" id="addCustomer">新增</a>
                </div>
            </td>
        </tr>
    </table>
</form>
<table class="display nowrap" cellspacing="0" style="width:99%;min-width:821px;" id="customerTable">
    <thead>
    <tr>
        <th style="width: 20px;">排序</th>
        <th>客户名称</th>
        <th>联系方式</th>
        <th>邮箱</th>
        <th style="width: 20%;">地址</th>
        <th>客户级别</th>
        <th style="width: 20%;">备注</th>
        <th>负责人</th>
        <th>创建时间</th>
        <th style="width:80px;">操作</th>
    </tr>
    </thead>
</table>
</body>
</html>
<script type="text/javascript" src="${ctx}js/customer/customerList.js?version=${version}"></script>